package com.lbj.core.tool.data

import java.io.Serializable

/**
 * 作者：李炳军
 * 创建日期：2021-03-24  14:24
 * 释义：
 */
data class SimpleTitle(
    var id: String,
    var title: String,
    var select: Boolean = false
) : Serializable {
    override fun toString() = title
}

fun MutableList<SimpleTitle>.deepCopy(): MutableList<SimpleTitle> {
    val list = ArrayList<SimpleTitle>()
    map { list.add(it.copy()) }
    return list
}
